<?xml version="1.0" encoding="UTF-8"?>
<!--
*************************************************************************
* The contents of this file are subject to the Openbravo  Public  License
* Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
* Version 1.1  with a permitted attribution clause; you may not  use this
* file except in compliance with the License. You  may  obtain  a copy of
* the License at http://www.openbravo.com/legal/license.html 
* Software distributed under the License  is  distributed  on  an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific  language  governing  rights  and  limitations
* under the License. 
* The Original Code is Openbravo ERP. 
* The Initial Developer of the Original Code is Openbravo SL 
* All portions are Copyright (C) 2001-2006 Openbravo SL 
* All Rights Reserved. 
* Contributor(s):  ______________________________________.
************************************************************************
-->
<REPORT>
  <template file="ReportPricelist.html"/>
  <PARAMETER id="paramToolBar" name="toolbar" default=""/>
  <PARAMETER id="paramDirection" name="direction" default=""/>
  <PARAMETER id="paramLanguage" name="paramLanguage" attribute="value"/>
  <PARAMETER id="paramM_PRODUCT_CATEGORY_ID" name="mProductCategoryId" attribute=""/>
  <PARAMETER id="paramM_PRICELIST_VERSIONID" name="mPricelistVersionId" attribute=""/>
  <PARAMETER id="paramVacio" name="vacio" default=""/>

  <PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
  <PARAMETER id="tdleftTabs" name="leftTabs" default=""/>
  <PARAMETER id="paramParentTabContainer" name="parentTabContainer" default=" "/>
  <PARAMETER id="paramMainTabContainer" name="mainTabContainer" default=" "/>
  <PARAMETER id="paramChildTabContainer" name="childTabContainer" default=" "/>
  <PARAMETER id="tdtopButtons" name="navigationBar" default=""/>
  <PARAMETER id="keyMap" name="keyMap" default=""/>
  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
  <SUBREPORT id="reportMProductId_IN" name="reportMProductId_IN" report="org/openbravo/erpCommon/reference/List">
    <ARGUMENT name="parameterListSelected" withId="paramVacio"/>
  </SUBREPORT>

  <PARAMETER id="param2" name="param2" default="2"/>

  <structure name="structure1">
    <FIELD id="fieldRownum1">rownum</FIELD>
    <FUNCTION id="funcEvenOddRow1xx" name="MODULE" arg1="fieldRownum1" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
    <FIELD id="fieldVersionId" attribute="onclick" replace="xx">mPricelistVersionId</FIELD>
    <FIELD id="fieldVersionName">versionName</FIELD>
    <FIELD id="fieldMProductCategoryId">mProductCategoryId</FIELD>
    <FIELD id="fieldCategoryName">categoryName</FIELD>
    <FIELD id="fieldProductName" attribute="onclick" replace="yy">mProductId</FIELD>
    <FIELD id="fieldProductName">productName</FIELD>
    <FIELD id="fieldPricelimit" format="euroInform">pricelimit</FIELD>
    <FIELD id="fieldPricelist" format="euroInform">pricelist</FIELD>
    <FIELD id="fieldPricestd" format="euroInform">pricestd</FIELD>
    <SUBREPORT id="reportM_PRODUCT_CATEGORYID" name="reportM_PRODUCT_CATEGORYID" report="org/openbravo/erpCommon/reference/List">
      <ARGUMENT name="parameterListSelected" withId="paramM_PRODUCT_CATEGORY_ID"/>
    </SUBREPORT>
    <SUBREPORT id="reportM_PRICELIST_VERSIONID" name="reportM_PRICELIST_VERSIONID" report="org/openbravo/erpCommon/reference/List">
      <ARGUMENT name="parameterListSelected" withId="paramM_PRICELIST_VERSIONID"/>
    </SUBREPORT>
    <SECTION id="sectionPricelistVersion" field="mPricelistVersionId"/>
    <SECTION id="sectionProductCategory" field="mProductCategoryId"/>
    <SECTION id="sectionDetail"/>
  </structure>
</REPORT>
